<template>

  <el-config-provider :size="size" :z-index="zIndex" :locale="locale">
    
    <!-- <el-button type="primary">使用element-plus的第一个按钮</el-button>
    <el-icon :size="size" :color="color">
      <Edit />
    </el-icon> -->
    <!-- <HelloWorld /> -->
    <!-- <Home /> -->
 
    <router-view />
  </el-config-provider>
</template>

<script setup>
import { defineComponent } from 'vue'
import { ElConfigProvider } from 'element-plus'
import { Edit } from '@element-plus/icons-vue'
import zhCn from "element-plus/dist/locale/zh-cn.mjs"

import Home from '@/views/home.vue'
// 切换为中文
let locale = zhCn

</script>

<style lang="scss">
.text2{
  text-indent: 2em;
}

.cursor{
  cursor:pointer;
  text-align: center;
}

</style>